home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 17 / Developer Source Volume 17 (I-MODE Publications, Inc.)(2000).iso / delph / 8a1 / houtf101.gif < prev    next >
Graphics Interchange Format  |  1999-03-17  |  72KB  |  587x451  |  4-bit (16 colors)
Labels: text | screenshot | number | font
OCR: Term Description NT Event Log The "global" log file in which NT stores system, security, and application events. Use of the API will allow you to read, write, and clear the data in this log NT Event Viewer An NI, administrative tool to view the NT Event Log. From the Start menu, go to Programs I Administrative Tools |. Event Viewer (path is %SystemRoot%\system32\eventvwr.exe) Event- Source The registry key that defines the message file information your application is using for writing to the NT Event Log: In the examples in this article, the Event Source is MYAPP REG. Event Message File The file that contains the rosource-compiled event. messages, It's usually a separate DLL [but can be embedded in the resources of primary application} and resides in the path defined in the registry (the Event Source). The path of this file is the value of the EventMessageFile entry in the registry, th. the examples in this article, the Message File is MYAPP MSG.DLL Category Message The file, that contains the resource-compiled category messages .. It's usually a separate DLE Fila (but can be embedded in the resources of the primary application) and resides in the path defined in the registry (the Event Source). The path of this file is the value of the CategoryMessagefile key in the registry In the examples in this article, the Category Message File is MYAPP MSG.DLL (the same file as the Event Message File). Message Compiler This is the Microsoft tool, "mc.exe, described in the Message Compiler section. It compiles the text-based Message Compiler Source Files into a binary format: EventiD. The unique numerical constant defined in the EventMessagefile for the particular event you are logging CategoryID The Unique numerical constant defined in the CategoryMessageFile for the particular event you are logging. If used, this volve must be numbered consecutively starting with the number 1. Message File The output of the Message Compiler. The resulting files are used to create the Event Message Resources File (DLL]] Message Strings The strings in the Message File Resources, which will be merged with your additional message information for viewing in the NT Event Viewer (for example; "Started at %1" in eventmisgs.mc). Message Compiler "The text file from which the EventID, CategoryID, and Message strings are defined. This file is Source Files compiled by the Message Compiler to create the Message File Resources, In this article, the Massage File Resource source is eventmsgs.mc. Figure 1: Glossary of NT Event Log terminology.